pub fn new_birthday_probability(n: u32) -> f64 {
    let mut count_all = 1.0;
    for i in 0..n {
        count_all *= ((365 - i) as f64) / 365.0;
    }
    1.0 - count_all
}
